package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.Quarter;
import com.xmy.cultivate.entity.Student;
import com.xmy.cultivate.entity.StudentSignIn;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.views.face.FaceGetScheduling;

import java.time.LocalDateTime;

/**
 * <p>
 * 刷脸签到 服务类
 * </p>
 *
 * @author min
 * @since 2023-01-04
 */
public interface IStudentSignInService extends IService<StudentSignIn> {

    StudentSignIn getSiginOneForSchedulingDetailId(Long studentId, Long schedulingDetailId);

    boolean fnSaveOrUpdate(FaceGetScheduling faceGetScheduling, Student student, String ossImageUrl, LocalDateTime dateTimeNow);

    FaceGetScheduling getTemporaryData(Long studentId, String subjectsId, Integer lessonType, Quarter quarter);

    FaceGetScheduling getTryListenData(Student student, String subjectsId, Integer lessonType, Quarter quarter);
}
